//=================================
// Function definition
//=================================
#ifdef NDIS51_MINIPORT
VOID WBNDIS_PnPNotify( IN PADAPTER Adapter, IN NDIS_DEVICE_PNP_EVENT PnPEvent, IN PVOID InformationBuffer,IN ULONG InformationBufferLength );
#endif

VOID WBNDIS_SendPackets( IN NDIS_HANDLE MiniportAdapterContext, IN PPNDIS_PACKET PacketArray, IN UINT NumberOfPackets );
VOID WBNDIS_stop( IN PADAPTER Adapter );
VOID WBNDIS_Destroy( IN PADAPTER Adapter );
BOOLEAN WBNDIS_Initial( IN PADAPTER Adapter, IN NDIS_HANDLE MiniportAdapterHandle );
VOID WBNDIS_GetNextPacket( IN PADAPTER Adapter, IN PDESCRIPTOR pDes );
VOID WBNDIS_GetNextPacketCompleted( IN PADAPTER Adapter, IN PDESCRIPTOR pDes );
VOID WBNDIS_ReceivePacket( IN PADAPTER Adapter, IN PRXLAYER1 pRxLayer1 );
VOID WbNdis_TxRateShow( IN PVOID S1, IN PADAPTER Adapter, IN PVOID S3, IN PVOID S4 );
NDIS_STATUS WbWLanReset( OUT PBOOLEAN AddressingReset, IN NDIS_HANDLE MiniportAdapterContext );
NDIS_STATUS WbWLanInitialize( OUT PNDIS_STATUS OpenErrorStatus, OUT PUINT SelectedMediumIndex,
							  IN  PNDIS_MEDIUM MediumArray, IN UINT MediumArraySize,
							  IN  NDIS_HANDLE  MiniportAdapterHandle, IN NDIS_HANDLE ConfigurationHandle );
NDIS_STATUS WbReadNdisConfigration( IN PADAPTER	Adapter, IN NDIS_HANDLE ConfigurationHandle );
VOID WbWLanHalt( IN NDIS_HANDLE  MiniportAdapterContext );
NDIS_STATUS WbWLanReset( OUT PBOOLEAN AddressingReset, IN NDIS_HANDLE MiniportAdapterContext );
NDIS_STATUS WbWLanQueryInformation( IN  NDIS_HANDLE MiniportAdapterContext, IN NDIS_OID Oid,
								    IN  PVOID InformationBuffer, IN ULONG InformationBufferLength,
									OUT PULONG BytesWritten, OUT PULONG BytesNeeded );
NDIS_STATUS WbWLanSetInformation( IN  NDIS_HANDLE MiniportAdapterContext, IN NDIS_OID Oid,
								  IN  PVOID InformationBuffer, IN ULONG InformationBufferLength,
								  OUT PULONG BytesRead, OUT PULONG BytesNeeded );
VOID WBNDIS_ConnectStatus( IN PADAPTER Adapter, IN ULONG flag );
#ifdef NDIS50_MINIPORT
VOID WbInitializeString( IN OUT PNDIS_STRING DestinationString, IN PUCHAR SourceString );
VOID WbFreeString( IN NDIS_STRING String );
#else
#define WbInitializeString( _D, _S )	NdisInitializeString( _D, _S )
#define WbFreeString( _S )				NdisFreeString( _S )
#endif






